package com.ch.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ch.web.entity.user.XyCommentEntity;
import com.ch.web.utils.PageUtils;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenHao
 * @email 1429542285@qq.com
 * @date 2022-10-15 13:58:33
 */
public interface XyCommentService extends IService<XyCommentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<XyCommentEntity> getCommentByTalkId(Long talkId);

    Long saveComment(XyCommentEntity xyCommentEntity, HttpServletRequest request);

    boolean deleteCommentByTalkId(Long id);
}

